home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / app_note / tecbltn1 / tb.122 < prev    next >
Text File  |  1986-03-04  |  2KB  |  43 lines

  1. /nof
  2.  
  3. Date: 3 December 1985
  4. Number: 122
  5.  
  6. Title:Two problems in the RM/COBOL 2.0+ Novell Runtime.
  7.  
  8.  
  9. Two problems have been discovered in all versions of the Novell
  10. RM/COBOL Runtimeversion 2.0 and above.
  11.  
  12. The first problem is in the patching of RUNCOBOL.RUN with the
  13. RMCONFIG UTILITY(RMCNFG.COB).  This process disables the
  14. multi-user flag.  This flag can bere-enabled by changing address 6F0F
  15. from 00 to 01 in "RUNCOBOL.RUN" by using the RMPATCH UTILITY
  16. "RMPTCH.COB".  This patch will return the runtime to multiuser use.
  17. (This patch can also be performed using the DOS DEBUG utility at
  18. address 700F.)
  19.  
  20. The second problem has to do with the DOS return code not being
  21. correctly returned upon completion of the program. The DOS return
  22. code can be set by the COBOL statement: 
  23.  
  24. STOP RUN <n>
  25.  
  26. Where <n> is the value of the return code. This value is useful if
  27. execution of the program was initiated from a batch file, and the
  28. result of program execution is used to determine the branch of
  29. further execution. This capability is made available through the DOS
  30. batch file command:
  31.  
  32. IF ERROR LEVEL <n> <command>
  33.  
  34. The initial release of RM/COBOL version 2.0+ does not allow for the
  35. DOS return code to be passed back properly. A new version of the
  36. file "RCOBOL.COM" isavailable to correct this problem. It can be
  37. ordered from Novell under the following part number: 125-13-001. Use
  38. this update for all versions of the Novell RM/COBOL runtime 2.0 and
  39. above.
  40.  
  41. The complete release diskette is also being modified to include this
  42. correction.
  43. /for